<%-- 
    Document   : addItem
    Created on : 8 mars 2013, 11:42:24
    Author     : alocubiche
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>E-commerce.com</title>
        <link rel="stylesheet" type="text/css" href="style.css" />
    </head>
    <body>
        <h1>Ajouter un article à vendre</h1>
        <hr />
        <h2><a href='index.jsp'>Accueil</a></h2>
        <!-- <form name='addItem' action='http://localhost:8080/eCommerce/MainController'> -->
        <form action="MainController" method="post">
            <fieldset>
                <legend>Informations</legend>
                <label>Nom de l'article :</label><input type='text' name='itemName'/><br />
                <label>Prix :</label><input type='text' name='itemPrice' /><p />
                <label>Quantite :</label><input type='text' name='itemQuantity' /><p />
                <input type="hidden" name="action" value="addItem" />
                <input class ="siteButton" type='submit' value='Enregistrer' />
            </fieldset>
        </form>
    </body>
</html>
